//
//  JZBFeedbackViewController.m
//  JZB
//
//  Created by  on 2022/8/31.
//

#import "JZBFeedbackViewController.h"

@interface JZBFeedbackViewController ()

@property (strong, nonatomic) IBOutlet UITextView *input;
@end

@implementation JZBFeedbackViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = LS(@"反馈建议");
    self.view.backgroundColor = [UIColor whiteColor];
}
- (IBAction)actionforbtn:(UIButton *)sender {
    if (self.input.text.length < 1) {
        [RLHud startHud:LS(@"内容不能为空") stopTime:1 handle:^{
            
        }];
    }else{
        [RLHud startHud:LS(@"提交中...") stopTime:1 handle:^{
            [RLHud startHud:LS(@"提交成功...") stopTime:1 handle:^{
                [self.navigationController popViewControllerAnimated:YES];
            }];
        }];
    }
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
